<extend name="layout/base"/>
<block name="l">
    <div class="lbox">
        <!--banbox begin-->
        <div class="banbox">
            <div class="banner">
                <div id="banner" class="fader">
                    <volist name="baners_left" id="vo">
                        <li class="slide"><a href="{{$vo.url}}" target="_blank"><img src="{{$vo.cover}}"></a></li>
                    </volist>
                    <div class="fader_controls">
                        <div class="page prev" data-target="prev"></div>
                        <div class="page next" data-target="next"></div>
                        <ul class="pager_list">
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!--banbox end-->
        <!--headline begin-->
        <div class="headline">
            <ul>
                <volist name="baners_right" id="vo">
                    <li>
                        <a href="{{$vo.url}}" title="{{$vo.title}}">
                            <img src="{{$vo.cover}}" alt="{{$vo.title}}">
                            <span>{{$vo.title}}</span>
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <!--headline end-->
        <div class="clearblank"></div>
        <div class="tab_box whitebg">

            <div class="tab_buttons">
                <ul>
                    <li class="newscurrent">个人博客</li>
                </ul>
            </div>
            <div class="newstab">
                <div class="newsitem">
                    <div class="newspic">
                        <ul>
                            <volist name="recent_hot_news" id="vo">
                                <li>
                                    <a href="{{:url('article.index',['id'=>$vo.id])}}"><img src="{{$vo.cover}}"><span>{{$vo.title}}</span></a>
                                </li>
                            </volist>
                        </ul>
                    </div>
                    <ul class="newslist">
                        <volist name="recent_blog_news" id="vo">
                            <li><i></i><a href="{{:url('article.index',['id'=>$vo.id])}}" title="{{$vo.title}}">{{$vo.title}}</a>
                                <p>{{$vo.abstract}}</p>
                            </li>
                        </volist>
                    </ul>
                </div>
            </div>
        </div>

        <!--tab_box end-->
        <div class="zhuanti whitebg">
            <h2 class="htitle">特别推荐</h2>
            <ul>
                <volist name="recent_recommend_news" id="vo">
                    <li>
                        <i class="ztpic">
                            <a href="{{:url('article.index',['id'=>$vo.id])}}" target="_blank"><img src="{{$vo.cover}}"></a>
                        </i>
                        <b>{{$vo.title}}</b>
                        <span>{{$vo.abstract}}</span>
                        <a href="{{:url('article.index',['id'=>$vo.id])}}" target="_blank" class="readmore">文章阅读</a></li>
                </volist>
            </ul>
        </div>
        <div class="ad whitebg"><a href="{{$baners_ad.url}}" target="_blank"><img src="{{$baners_ad.cover}}"/></a>
        </div>
        <div class="whitebg bloglist">
            <h2 class="htitle">最新博文</h2>
            <ul>
                <volist name="recent_top_news" id="vo">
                    <li>
                        <h3 class="blogtitle"><b>【顶】</b><a href="{{:url('article.index',['id'=>$vo.id])}}" target="_blank">{{$vo.title}}</a>
                        </h3>
                        <span class="blogpic imgscale"><i><a href="{{:url($vo.newsCategory.route_name,['page'=>1])}}" target="_blank">{{$vo.newsCategory.title}}</a></i>
                            <a href="{{:url('article.index',['id'=>$vo.id])}}" title="{{$vo.title}}"><img src="{{$vo.cover}}"
                                                                                                          alt="{{$vo.title}}"></a>
                        </span>
                        <p class="blogtext">{{$vo.abstract}}</p>
                        <p class="bloginfo">
                            <i class="avatar">
                                <img src="/static/picture/avatar.jpg">
                            </i>
                            <span></span><span>{{$vo.create_time}}</span>
                            <span>【<a href="{{:url($vo.newsCategory.route_name,['page'=>1])}}" target="_blank">{{$vo.newsCategory.title}}</a>】</span>
                        </p>
                        <a href="{{:url('article.index',['id'=>$vo.id])}}" class="viewmore">阅读更多</a></li>
                </volist>
                <volist name="recent_not_top_news" id="vo">
                    <li>
                        <h3 class="blogtitle"><a href="{{:url('article.index',['id'=>$vo.id])}}" target="_blank">{{$vo.title}}</a></h3>
                        <span class="blogpic imgscale"><i><a href="{{:url($vo.newsCategory.route_name,['page'=>1])}}" target="_blank">{{$vo.newsCategory.title}}</a></i>
                            <a href="{{:url('article.index',['id'=>$vo.id])}}" title="{{$vo.title}}"><img src="{{$vo.cover}}"
                                                                                                          alt="{{$vo.title}}"></a>
                        </span>
                        <p class="blogtext">{{$vo.abstract}}</p>
                        <p class="bloginfo">
                            <i class="avatar">
                                <img src="/static/picture/avatar.jpg">
                            </i>
                            <span></span><span>{{$vo.create_time}}</span>
                            <span>【<a href="{{:url($vo.newsCategory.route_name,['page'=>1])}}" target="_blank">{{$vo.newsCategory.title}}</a>】</span></p>
                        <a href="{{:url('article.index',['id'=>$vo.id])}}" class="viewmore">阅读更多</a></li>
                </volist>
            </ul>
        </div>
        <!--bloglist end-->
    </div>
</block>
<block name="r">
    <div class="rbox">
        {{$sidebar->render()|raw}}
    </div>
</block>